#ifndef __USEROPERATOR_H__
#define __USEROPERATOR_H__
#include<mysql/mysql.h>
#include<hiredis/hiredis.h>

int userRegister(int netfd,MYSQL* mysql,redisContext* redis,const char* preId,char* username);
int serverPwdAuth(int netfd,MYSQL* mysql,redisContext* redis,const char* preId,char* username);

#endif
